API — Tenant settings — admin
Documentacao tecnica gerada automaticamente a partir da especificacao OpenAPI.
GET /api/tenant/settings
Get Tenant Settings
Exemplo resposta (200):
{
"name": null,
"business_name": null,
"email": null,
"phone": null,
"address": null,
"city": null,
"timezone": null,
"default_currency": "string",
"default_language": "string",
"tax_included_in_prices": true
}
PUT /api/tenant/settings
Update Tenant Settings
Corpo do pedido:
| Campo | Tipo | Obrigatorio | Descricao |
|---|---|---|---|
| name | object | Nao | Name |
| business_name | object | Nao | Business Name |
| object | Nao | ||
| phone | object | Nao | Phone |
| address | object | Nao | Address |
| city | object | Nao | City |
| timezone | object | Nao | Timezone |
| default_currency | object | Nao | Default Currency |
| default_language | object | Nao | Default Language |
| tax_included_in_prices | object | Nao | Tax Included In Prices |
Exemplo pedido:
{
"name": null,
"business_name": null,
"email": null,
"phone": null,
"address": null,
"city": null,
"timezone": null,
"default_currency": null,
"default_language": null,
"tax_included_in_prices": null
}
Exemplo resposta (200):
{
"name": null,
"business_name": null,
"email": null,
"phone": null,
"address": null,
"city": null,
"timezone": null,
"default_currency": "string",
"default_language": "string",
"tax_included_in_prices": true
}
Erros possiveis: 422 Validation Error
Documentacao gerada automaticamente.